import request from '@/utils/request'

// 查询物流订单录入列表
export function listLogisticsOrderEntry(query) {
  return request({
    url: '/ys/logisticsOrderEntry/list',
    method: 'get',
    params: query
  })
}

// 查询物流订单录入详细
export function getLogisticsOrderEntry(id) {
  return request({
    url: '/ys/logisticsOrderEntry/' + id,
    method: 'get'
  })
}

// 新增物流订单录入
export function addLogisticsOrderEntry(data) {
  return request({
    url: '/ys/logisticsOrderEntry',
    method: 'post',
    data: data
  })
}

// 修改物流订单录入
export function updateLogisticsOrderEntry(data) {
  return request({
    url: '/ys/logisticsOrderEntry',
    method: 'put',
    data: data
  })
}

// 删除物流订单录入
export function delLogisticsOrderEntry(id) {
  return request({
    url: '/ys/logisticsOrderEntry/' + id,
    method: 'delete'
  })
}
